'use strict'


import Http from '../kit/HttpKit'
import Api from './Api'

const URL_LIST = Api.API_URL + '/superman/list'
const URL_ADD = Api.API_URL + '/superman/add'
const URL_DELETE = Api.API_URL + '/superman/delete'

/**
* App管理者模块
**/
const list = (data, callback)=>{
	var url = Api.API_URL + '/superman/list';

	data.api_token = Api.getApiToken();
	data.api_user_id = Api.getApiUserId();

	Http.post(url, data, json=>{
		Api.getDataCB(json, callback);
	});
}



export default{
	list, 
	URL_LIST, URL_ADD, URL_DELETE
}
